3.1308 \(\int \frac{(1-2 x)^2 (2+3 x)^4}{(3+5 x)^2} \, dx\)

Optimal. Leaf size=55 \[ \frac{324 x^5}{125}+\frac{189 x^4}{125}-\frac{1809 x^3}{625}-\frac{3621 x^2}{3125}+\frac{5459 x}{3125}-\frac{121}{78125 (5 x+3)}+\frac{1408 \log (5 x+3)}{78125} \]

[Out]

(5459*x)/3125 - (3621*x^2)/3125 - (1809*x^3)/625 + (189*x^4)/125 + (324*x^5)/125 - 121/(78125*(3 + 5*x)) + (14
08*Log[3 + 5*x])/78125

________________________________________________________________________________________

Rubi [A]  time = 0.0252809, antiderivative size = 55, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.045, Rules used = {88} \[ \frac{324 x^5}{125}+\frac{189 x^4}{125}-\frac{1809 x^3}{625}-\frac{3621 x^2}{3125}+\frac{5459 x}{3125}-\frac{121}{78125 (5 x+3)}+\frac{1408 \log (5 x+3)}{78125} \]

Antiderivative was successfully verified.

[In]

Int[((1 - 2*x)^2*(2 + 3*x)^4)/(3 + 5*x)^2,x]

[Out]

(5459*x)/3125 - (3621*x^2)/3125 - (1809*x^3)/625 + (189*x^4)/125 + (324*x^5)/125 - 121/(78125*(3 + 5*x)) + (14
08*Log[3 + 5*x])/78125

Rule 88

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.)*((e_.) + (f_.)*(x_))^(p_.), x_Symbol] :> Int[ExpandI
ntegrand[(a + b*x)^m*(c + d*x)^n*(e + f*x)^p, x], x] /; FreeQ[{a, b, c, d, e, f, p}, x] && IntegersQ[m, n] &&
(IntegerQ[p] || (GtQ[m, 0] && GeQ[n, -1]))

Rubi steps

\begin{align*} \int \frac{(1-2 x)^2 (2+3 x)^4}{(3+5 x)^2} \, dx &=\int \left (\frac{5459}{3125}-\frac{7242 x}{3125}-\frac{5427 x^2}{625}+\frac{756 x^3}{125}+\frac{324 x^4}{25}+\frac{121}{15625 (3+5 x)^2}+\frac{1408}{15625 (3+5 x)}\right ) \, dx\\ &=\frac{5459 x}{3125}-\frac{3621 x^2}{3125}-\frac{1809 x^3}{625}+\frac{189 x^4}{125}+\frac{324 x^5}{125}-\frac{121}{78125 (3+5 x)}+\frac{1408 \log (3+5 x)}{78125}\\ \end{align*}

Mathematica [A]  time = 0.0306806, size = 56, normalized size = 1.02 \[ \frac{5062500 x^6+5990625 x^5-3881250 x^4-5655000 x^3+2054000 x^2+3698835 x+7040 (5 x+3) \log (6 (5 x+3))+990421}{390625 (5 x+3)} \]

Antiderivative was successfully verified.

[In]

Integrate[((1 - 2*x)^2*(2 + 3*x)^4)/(3 + 5*x)^2,x]

[Out]

(990421 + 3698835*x + 2054000*x^2 - 5655000*x^3 - 3881250*x^4 + 5990625*x^5 + 5062500*x^6 + 7040*(3 + 5*x)*Log
[6*(3 + 5*x)])/(390625*(3 + 5*x))

________________________________________________________________________________________

Maple [A]  time = 0.006, size = 42, normalized size = 0.8 \begin{align*}{\frac{5459\,x}{3125}}-{\frac{3621\,{x}^{2}}{3125}}-{\frac{1809\,{x}^{3}}{625}}+{\frac{189\,{x}^{4}}{125}}+{\frac{324\,{x}^{5}}{125}}-{\frac{121}{234375+390625\,x}}+{\frac{1408\,\ln \left ( 3+5\,x \right ) }{78125}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((1-2*x)^2*(2+3*x)^4/(3+5*x)^2,x)

[Out]

5459/3125*x-3621/3125*x^2-1809/625*x^3+189/125*x^4+324/125*x^5-121/78125/(3+5*x)+1408/78125*ln(3+5*x)

________________________________________________________________________________________

Maxima [A]  time = 2.35966, size = 55, normalized size = 1. \begin{align*} \frac{324}{125} \, x^{5} + \frac{189}{125} \, x^{4} - \frac{1809}{625} \, x^{3} - \frac{3621}{3125} \, x^{2} + \frac{5459}{3125} \, x - \frac{121}{78125 \,{\left (5 \, x + 3\right )}} + \frac{1408}{78125} \, \log \left (5 \, x + 3\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)^2*(2+3*x)^4/(3+5*x)^2,x, algorithm="maxima")

[Out]

324/125*x^5 + 189/125*x^4 - 1809/625*x^3 - 3621/3125*x^2 + 5459/3125*x - 121/78125/(5*x + 3) + 1408/78125*log(
5*x + 3)

________________________________________________________________________________________

Fricas [A]  time = 1.7817, size = 181, normalized size = 3.29 \begin{align*} \frac{1012500 \, x^{6} + 1198125 \, x^{5} - 776250 \, x^{4} - 1131000 \, x^{3} + 410800 \, x^{2} + 1408 \,{\left (5 \, x + 3\right )} \log \left (5 \, x + 3\right ) + 409425 \, x - 121}{78125 \,{\left (5 \, x + 3\right )}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)^2*(2+3*x)^4/(3+5*x)^2,x, algorithm="fricas")

[Out]

1/78125*(1012500*x^6 + 1198125*x^5 - 776250*x^4 - 1131000*x^3 + 410800*x^2 + 1408*(5*x + 3)*log(5*x + 3) + 409
425*x - 121)/(5*x + 3)

________________________________________________________________________________________

Sympy [A]  time = 0.106346, size = 48, normalized size = 0.87 \begin{align*} \frac{324 x^{5}}{125} + \frac{189 x^{4}}{125} - \frac{1809 x^{3}}{625} - \frac{3621 x^{2}}{3125} + \frac{5459 x}{3125} + \frac{1408 \log{\left (5 x + 3 \right )}}{78125} - \frac{121}{390625 x + 234375} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)**2*(2+3*x)**4/(3+5*x)**2,x)

[Out]

324*x**5/125 + 189*x**4/125 - 1809*x**3/625 - 3621*x**2/3125 + 5459*x/3125 + 1408*log(5*x + 3)/78125 - 121/(39
0625*x + 234375)

________________________________________________________________________________________

Giac [A]  time = 2.05649, size = 101, normalized size = 1.84 \begin{align*} -\frac{1}{390625} \,{\left (5 \, x + 3\right )}^{5}{\left (\frac{3915}{5 \, x + 3} - \frac{8775}{{\left (5 \, x + 3\right )}^{2}} - \frac{26850}{{\left (5 \, x + 3\right )}^{3}} - \frac{30050}{{\left (5 \, x + 3\right )}^{4}} - 324\right )} - \frac{121}{78125 \,{\left (5 \, x + 3\right )}} - \frac{1408}{78125} \, \log \left (\frac{{\left | 5 \, x + 3 \right |}}{5 \,{\left (5 \, x + 3\right )}^{2}}\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)^2*(2+3*x)^4/(3+5*x)^2,x, algorithm="giac")

[Out]

-1/390625*(5*x + 3)^5*(3915/(5*x + 3) - 8775/(5*x + 3)^2 - 26850/(5*x + 3)^3 - 30050/(5*x + 3)^4 - 324) - 121/
78125/(5*x + 3) - 1408/78125*log(1/5*abs(5*x + 3)/(5*x + 3)^2)